package com.kh.pajx.sop.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kh.pajx.sop.base.BaseServiceImpl;
import com.kh.pajx.sop.dao.IStockDevOutDao;
import com.kh.pajx.sop.domain.PageBean;
import com.kh.pajx.sop.domain.stock.StockDevIn;
import com.kh.pajx.sop.domain.stock.StockDevOut;
import com.kh.pajx.sop.service.IStockDevOutService;
import com.kh.pajx.sop.util.page.QueryHelper;
@Service
@Transactional
public class StockDevOutServiceImpl extends BaseServiceImpl<StockDevOut> implements IStockDevOutService{
	@Resource
	private IStockDevOutDao outDao;
	public PageBean getPageBean(int pageNum, int pageSize,
			QueryHelper queryHelper) {
		return outDao.getPageBean(pageNum, pageSize, queryHelper);
	}
	public List<StockDevOut> findAll(){
		
		return outDao.findAll();
	}
	public StockDevOut getById(Long id){
		return outDao.getById(id);
	}
	
	public void update(StockDevOut dev){
		outDao.update(dev);
	}
	}
